package com.itheima.atm;

public class Account {
    //Account账户类：用于创建对象，保存用户的账户信息的
    private String name;//用户名
    private int password;//密码
    private String sex;//性别
    private double   limit;//限额
    private int cardNumber;//账号
    private double money;

    public Account() {
    }

    public Account(String name, int password, String sex, double limit, int cardNumber, double money) {
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.limit = limit;
        this.cardNumber = cardNumber;
        this.money = money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPassword() {
        return password;
    }

    public void setPassword(int password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public double getLimit() {
        return limit;
    }

    public void setLimit(double limit) {
        this.limit = limit;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public int getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(int cardNumber) {
        this.cardNumber = cardNumber;
    }
}
